package cst.a220tbc.weatherbyself.service;

import cst.a220tbc.weatherbyself.bean.WeatherResult;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by Evan on 2017/5/2.
 */

public interface WeatherService {
    @GET("data/sk/{cityNumber}.html")
    //向API传参数
    Call<WeatherResult> getResult(@Path("cityNumber") String cityNumber);
}
